package com.dao;

import org.apache.ibatis.annotations.Param;

import com.entity.MailUser;

public interface MailUserMapper {
    int deleteByPrimaryKey(Integer uid);

    /**
     * 用户注册
     * @param record
     * @return
     */
    int insert(MailUser record);
    
    int updateByCode(@Param("CODE") String CODE, @Param("state") Integer state);

    int insertSelective(MailUser record);

    MailUser selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(MailUser record);

    
}